package com.ssy.lingxi.contract.api.model.constant;

/**
 * 合同服务外部常量定义
 * @author 万宁
 * @version 2.0.0
 * @date 2022-01-18
 */
public class ContractConstants {

    /**
     * 订单-新增/取消合同订单（通知调整合同剩余金额，仅限下单模式：询价、竞价、招标合同下单）
     */
    public final static String CONTRACT_ORDER_CHANGE_QUEUE = "contract_order_change_queue";
    public final static String CONTRACT_ORDER_CHANGE_EXCHANGE = "contract_order_change_exchange";
    public final static String CONTRACT_ORDER_CHANGE_ROUTINGKEY = "contract_order_change_routingKey";

    /**
     * 物料价格信息变更MQ任务
     * 合同订单有变更、到期、停用、作废都需要同步更新物料价格库
     */
    public final static String GOODS_PRICE_CHANGE_QUEUE = "goods_price_change_queue";
    public final static String GOODS_PRICE_CHANGE_EXCHANGE = "goods_price_change_exchange";
    public final static String GOODS_PRICE_CHANGE_ROUTING_KEY = "goods_price_change_routing_key";
}
